]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st: Cleanup ST_PARAM_* and add WRITABLE version
authorNiels De Graef <nielsdegraef@gmail.com>
Sat, 27 Jul 2019 08:21:12 +0000 (10:21 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Tue, 30 Jul 2019 13:58:44 +0000 (13:58 +0000)
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/646

src/st/st-private.h

index 0f3cb2f2c6b708e3313beab2464326f527865c7b..3f1fd12957923ff37c1255460fd0cfe467964cba 100644 (file)
@@ -33,13 +33,9 @@ G_BEGIN_DECLS
 
 #define I_(str)         (g_intern_static_string ((str)))
 
-#define ST_PARAM_READABLE     \
-        (G_PARAM_READABLE |     \
-         G_PARAM_STATIC_NICK | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB)
-
-#define ST_PARAM_READWRITE    \
-        (G_PARAM_READABLE | G_PARAM_WRITABLE | \
-         G_PARAM_STATIC_NICK | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB)
+#define ST_PARAM_READABLE  (G_PARAM_READABLE  | G_PARAM_STATIC_STRINGS)
+#define ST_PARAM_WRITABLE  (G_PARAM_WRITABLE  | G_PARAM_STATIC_STRINGS)
+#define ST_PARAM_READWRITE (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)
 
 G_END_DECLS